﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Dainfo.Master" CodeBehind="CadastroFornecedor.aspx.vb" Inherits="Dainfo.ControleEstoque.Web.CadastroFornecedor" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

    .style3
    {
        width: 261px;
    }
    .style2
    {
        width: 52px;
    }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderTituloPagina" runat="server">
    <span class="tituloPagina">Cadastro de Fornecedores</span>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderPrincipal" runat="server">
    <table style="width:100%;">
    <tr>
        <td class="style3">
            Nome/Razão Social:*</td>
        <td>
            <asp:TextBox ID="txtNome_Razao" runat="server" Width="323px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfvNome_Razao" runat="server" 
                ControlToValidate="txtNome_Razao" 
                ErrorMessage="Nome/Razão Social obrigatório!"></asp:RequiredFieldValidator>
        </td>
        <td>
        </td>
    </tr>
    <tr>
        <td class="style3">
            CPF/CNPJ:*</td>
        <td>
            <asp:TextBox ID="txtCPF_CNPJ" runat="server" Width="169px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfvCPF_CNPJ" runat="server" 
                ControlToValidate="txtCPF_CNPJ" ErrorMessage="CPF/CNPJ obrigatório!"></asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            CEP:*</td>
        <td>
            <asp:TextBox ID="txtCEP" runat="server" Width="167px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfvCEP" runat="server" 
                ControlToValidate="txtCEP" ErrorMessage="CEP obrigatório!"></asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Estado:</td>
        <td>
            <asp:DropDownList ID="ddlEstado" runat="server">
                <asp:ListItem>SP</asp:ListItem>
            </asp:DropDownList>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Cidade:</td>
        <td>
            <asp:TextBox ID="txtCidade" runat="server" Width="167px"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Endereço:</td>
        <td>
            <asp:TextBox ID="txtEndereco" runat="server" Width="167px"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Bairro:</td>
        <td>
            <asp:TextBox ID="txtBairro" runat="server" Width="167px"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Telefone 1:*</td>
        <td>
            <asp:TextBox ID="txtTel1" runat="server" Width="167px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfvTel1" runat="server" 
                ControlToValidate="txtTel1" ErrorMessage="Telefone obrigatório!"></asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Telefone 2:</td>
        <td>
            <asp:TextBox ID="txtTel2" runat="server" Width="167px"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            E-mail:*</td>
        <td>
            <asp:TextBox ID="txtEmail" runat="server" Width="167px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfvEmail" runat="server" 
                ControlToValidate="txtEmail" ErrorMessage="E-mail obrigatório!"></asp:RequiredFieldValidator>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Messenger:</td>
        <td>
            <asp:TextBox ID="txtMsn" runat="server" Width="167px"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Data:</td>
        <td>
            <asp:TextBox ID="txtMsn0" runat="server" Width="167px"></asp:TextBox>
            <cc1:CalendarExtender ID="txtMsn0_CalendarExtender" runat="server" 
                Enabled="True" TargetControlID="txtMsn0">
            </cc1:CalendarExtender>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            Observações</td>
        <td>
            <asp:TextBox ID="txtObs" runat="server" Width="277px" Height="53px"></asp:TextBox>
        </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            <em>*Campos Obrigatórios</em></td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            &nbsp;</td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
                        <asp:Button ID="btnSalvar" runat="server" Text="Salvar" Width="113px" />
                    </td>
        <td>
                        <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" Width="113px" 
                            CausesValidation="False" PostBackUrl="~/Home.aspx" />
                    </td>
        <td>
            &nbsp;</td>
    </tr>
    <tr>
        <td class="style3">
            <table style="width:100%;">
                <tr>
                    <td class="style2">
                        &nbsp;</td>
                </tr>
            </table>
        </td>
        <td>
            &nbsp;</td>
        <td>
            &nbsp;</td>
    </tr>
</table>
</asp:Content>
